# coding:utf8
import sys
reload(sys)
sys.setdefaultencoding('utf8')

class HtmlOutputer(object):
    def collect_data(self, new_data):
        f=open("result.txt","a")
        for i in new_data:
            f.write(i+"\n")
        f.close()


    def output_html(self):
        print "done"